if $programname == 'kube-apiserver' then {
   action(type="omfile" file="/var/log/kube-master/kube-apiserver.log")
}